package com.gem.service;

import com.gem.entity.Room;
import com.gem.utils.R;

import java.util.List;

/**
 * Author: Xhy
 * CreateTime: 2022-09-17 23:41
 */
public interface RoomService {
    R list();

    @Deprecated
    R joinRoom(String roomId, String userId);

    R quitRoom(String roomId, String userId);

    R search(String roomName);

    R getRoomInUsers(String roomId);

    R createRoom(Room room);

    R page(Integer curPage,Integer limit);
}
